package com.ecfront.pojo;

import java.util.Date;

/**
 * 回复表
 * @version 1.0
 * @author zhufeng
 */
public class Reply {
	private int id;//回复ID
	private String content;//回复内容
	private Date date;//回复时间
	//以下是多对一关联
	private User user;//回复者ID
	private Message message;//回复留言对应的ID
	
	public Reply(){}
	public Reply(int id, String content, Date date, User user, Message message) {
		super();
		this.id = id;
		this.content = content;
		this.date = date;
		this.user = user;
		this.message = message;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Message getMessage() {
		return message;
	}
	public void setMessage(Message message) {
		this.message = message;
	}
	
}
